//
//  DatePickerView.h
//  iOSTools
//
//  Created by BaizYi on 2018/12/28.
//  Copyright © 2018 YJY. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^DateBlock)(NSString *dateString);

@interface DatePickerView : UIView

@property(copy,nonatomic) DateBlock block;


-(instancetype)initWithFrame:(CGRect)frame resultBlock:(DateBlock)block;

-(void)showInView:(UIView *)view;

@end
